<template>
  <header class="header">
    <h1>todos</h1>
    <input
      v-model.trim="value"
      class="new-todo"
      placeholder="What needs to be done?"
      autofocus
    />
  </header>
</template>

<script setup lang="ts">
import { ref } from "vue";

const value = ref<string>("");

const emit = defineEmits(["key"]);
</script>